package interview_questions;

import java.util.Scanner;

public class Main1_1 {
	public static boolean isUniqueChars(String str) {
		if(str.length() > 256) return false;
		boolean[] char_set = new boolean[256];
		for(int i = 0; i < str.length(); i++) {
			int val = str.charAt(i);
			if(char_set[val]) return false;
			char_set[val] = true;
		}
		return true;
	}

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		String s = in.next();
		System.out.println(isUniqueChars(s));
		in.close();
	}

}